<script language="JavaScript"><!--
    function sendWarning() {
        var f= document.forms[0];
        f.s.value= 'User.Warn.Send';
        f.submit();
    }
-->
</script>

<TMPL_VAR NAME=OBJECTS>

		<h2 class="contentTitle">Warn User</h2>

		<div class="contentBody">Use this page to send warning messages to users and mark their accounts as warned.  The message will be sent to the user as a private message.  If you wish to notify the user directly by email you should send an email independently.  Other moderators will be able to see the total number of times the user has been warned, the date of the last warning and the moderator who gave the last warning.  Other moderators will see the user marked as warned for 2 weeks following their last warning.</div>

	<fieldset>
        <table class="contentTable">
        <tr>
        <td class="label">User Name:</td>
        <td><TMPL_VAR NAME=USER_NAME>
        </td>
        </tr>
        <tr>
        <td class="label">User Email:</td>
        <td><a href="mailto:<TMPL_VAR NAME=USER_EMAIL>"><TMPL_VAR NAME=USER_EMAIL></a>
        </td>
        </tr>

        <tr>
        <td class="label">Number of Warnings:</td>
        <td><TMPL_VAR NAME=USER_WARN_NUMBER><br>
            <small>The number of warnings this user has had throughout their entire membership</small>
        </td>
        </tr>
        <tr>
        <td class="label">Last Warning On:</td>
        <td><TMPL_VAR NAME=USER_WARN_DATE><br>
            <small>The date the last warning was issued</small>
        </td>
        </tr>
        <tr>
        <td class="label">Last Warning Issued By:</td>
        <td><TMPL_VAR NAME=USERWARN_MODERATOR_USER_NAME><br>
            <small>The moderator who issued the last warning</small>
        </td>
        </tr>

		<tr>
        <td class="label">Warning Title:</td>
        <td><input type=text name="PRIVATEMESSAGE_TITLE" value="Moderator Warning" size=100><br />
            <small>Title of the warning message.</small>
        </td>
        </tr>
        <tr>
        <td class="label">Warning Text:</td>
        <td><textarea name="PRIVATEMESSAGE_BODY" cols=80 rows=10>
This is a warning issued by a moderator of WiganWarriorsFans.com.

You have been judged to have engaged in activity against that described in the site's acceptable use policy.  Any further breaches of the policy will result in your account being blocked.

Please make sure you have read and understand the policy which is available [url=<TMPL_VAR NAME=CGI_BASE_URL>s=User.Register.AcceptableUsePolicy]here[/url].
		</textarea><br/>
            <small>Body of the warning message.</small>
        </td>
        </table>
		<div class="submit">
		<input type=button onClick="sendWarning();" value="Send Warning &raquo;"> 
		</div>
	</fieldset>
